package com.ailesson.order.model.reply;


import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 优惠券领用表
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-12 21:32:50
 */
@Schema(name = "返回值")
@Data
public class CouponUseReply implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@Schema(name = "id", description = "编号", type = "Long")
    private Long id;
	/**
	 * 购物券ID
	 */
	@Schema(name = "couponId", description = "购物券ID", type = "Long")
    private Long couponId;
	/**
	 * 用户ID
	 */
	@Schema(name = "userId", description = "用户ID", type = "Long")
    private Long userId;
	/**
	 * 订单ID
	 */
	@Schema(name = "orderId", description = "订单ID", type = "Long")
    private Long orderId;
	/**
	 * 购物券状态（1：未使用 2：已使用）
	 */
	@Schema(name = "couponStatus", description = "购物券状态（1：未使用 2：已使用）", type = "String")
    private String couponStatus;
	/**
	 * 获取时间
	 */
	@Schema(name = "getTime", description = "获取时间", type = "LocalDateTime")
    private LocalDateTime getTime;
	/**
	 * 使用时间
	 */
	@Schema(name = "usingTime", description = "使用时间", type = "LocalDateTime")
    private LocalDateTime usingTime;
	/**
	 * 支付时间
	 */
	@Schema(name = "usedTime", description = "支付时间", type = "LocalDateTime")
    private LocalDateTime usedTime;
	/**
	 * 过期时间
	 */
	@Schema(name = "expireTime", description = "过期时间", type = "LocalDateTime")
    private LocalDateTime expireTime;
	/**
	 * 创建时间
	 */
	@Schema(name = "createTime", description = "创建时间", type = "LocalDateTime")
    private LocalDateTime createTime;
	/**
	 * 
	 */
	@Schema(name = "updateTime", description = "", type = "LocalDateTime")
    private LocalDateTime updateTime;

	@Schema(name = "nickName", description = "昵称", type = "String")
	private String nickName;

	@Schema(name = "phone", description = "手机号", type = "String")
	private String phone;

}
